@extends('admin.common.admin_main')
@section('container')
@include('UEditor::head')
<div class="uc-body">
    <div class="uc-head">
        <ul>
            <li><span>新增技术</span></li>
        </ul>
    </div>
    <div class="form form-horizontal">
        <div class="form-body">
            <div class="row">
                <div class="label"><span class="require">*</span>技术名称：</div>
                <div class="control-text">
                    <input id="tech_name" class="form-control form-control-lg" type="text">
                </div>
            </div>
            <div class="j_selectPane">
                <div class="row">
                    <div class="label"><span class="require">*</span>应用领域：</div>
                    <div class="control-text">
                        <div class="select-pane j_selectItems">
                            <ul class="val">
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="control-text">
                        <select class="form-control" id="domain_change">
                            @foreach ($domain_list1 as $key=>$value)
                                <option value="{{$value['id']}}">{{$value['name']}}</option>
                            @endforeach
                        </select>
                        <select class="form-control" id="domain2_select">
                            @foreach ($domain_list2 as $key=>$value)
                                <option value="{{$value['id']}}">{{$value['name']}}</option>
                            @endforeach
                        </select>
                        <a class="btn btn-primary j_selectBtn" data-name="tech_domain">添加</a>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="label">产品名称：</div>
                <div class="control-text">
                    <input id="tech_product_name" class="form-control form-control-lg" type="text">
                </div>
            </div>
            <div class="row">
                <div class="label">适用范围：</div>
                <div class="control-text">
                    <textarea id="tech_used_range" class="form-control"></textarea>
                </div>
            </div>
            <div class="row">
                <div class="label"><span class="require">*</span>技术内容：</div>
                <div class="control-text">
                    <script id="tech_content" name="content" type="text/plain"></script>
                </div>
            </div>
            <div class="row">
                <div class="label">技术专利：</div>
                <div class="control-text">
                    <a class="j_patentAdd">添加</a>
                </div>
            </div>
            <div class="j_patentTable" style="display: none">
                <table class="table">
                    <thead>
                    <tr>
                        <th>申请号</th>
                        <th>申请日期</th>
                        <th>授权号</th>
                        <th>专利类型</th>
                        <th>批准日期</th>
                        <th>有效期</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody class="j_patentList">
                    </tbody>
                </table>
            </div>
            <div class="row">
                <div class="label">&nbsp;</div>
                <div class="control-text">
                    <a class="btn btn-warning j_techSave" data-chk="1">保存</a>
                    <a class="btn btn-primary j_techSave" data-chk="2">保存并提交审核</a>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="pop-bg j_popBg" style="display: none"></div>
<div class="pop pop-body j_popFrame" style="margin-left:-170px;margin-top:-160px;display:none">
    <a class="close close-white j_patentClose">关闭</a>
    <div class="pop-device pop-device-model">
        <div class="title">添加专利</div>
        <div class="form-body">
            <div class="row">
                <label class="label"><span class="require">*</span>申请号：</label>
                <div class="control-text">
                    <input id="patent_number" class="form-control" type="text" value="">
                </div>
            </div>
            <div class="row">
                <label class="label"><span class="require">*</span>申请日期：</label>
                <div class="control-text">
                    <input id="patent_regist_date" class="form-control j_dateSelect" type="text" value="" readonly>
                </div>
            </div>
            <div class="row">
                <label class="label"><span class="require">*</span>授权号：</label>
                <div class="control-text">
                    <input id="patent_power_number" class="form-control" type="text" value="">
                </div>
            </div>
            <div class="row">
                <label class="label"><span class="require">*</span>专利类型：</label>
                <div class="control-text">
                    <select id="patent_type" class="form-control">
                        <option value="">请选择</option>
                        @foreach ($patent_type_list as $key=>$value)
                            <option value="{{$value}}">{{$value}}</option>
                        @endforeach
                    </select>
                </div>
            </div>
            <div class="row">
                <label class="label"><span class="require">*</span>批准日期：</label>
                <div class="control-text">
                    <input id="patent_apply_date" class="form-control j_dateChange" type="text" value="" readonly>
                </div>
            </div>
            <div class="row">
                <label class="label"><span class="require">*</span>有效期：</label>
                <div class="control-text">
                    <input id="patent_esc_date" class="form-control" type="text" value="">
                </div>
            </div>
            <div class="row text-center">
                <a class="btn btn-small btn-warning j_patentSave">保存</a>
                <a class="btn btn-small btn-primary j_patentClose">取消</a>
            </div>
        </div>
    </div>
</div>
@endsection

@section('script')
<script src="{{env('STATIC_PATH')}}/libs/datetimepicker.js"></script>
<script src="{{env('STATIC_PATH')}}/js/user_tech.js"></script>
<script type="text/javascript">

</script>

@endsection
